
package ch.hearc.coursJava.exa.swing;

import java.awt.Point;
import java.io.Serializable;
import java.util.Iterator;
import java.util.List;



public class Dessins implements Iterable<Point>, Serializable
	{

	/**
     * 
     */
    private static final long serialVersionUID = -8366833902724882466L;

    /*------------------------------------------------------------------*\
	|*							Constructeurs							*|
	\*------------------------------------------------------------------*/
	public Dessins(List<Point> list)
		{
		this.listPoint = list;
		}

	/*------------------------------------------------------------------*\
	|*							Methodes Public							*|
	\*------------------------------------------------------------------*/
	@Override
	public Iterator<Point> iterator()
		{
		return this.listPoint.listIterator();
		}

	/*------------------------------*\
	|*				Set				*|
	\*------------------------------*/
	public void setListPoint(List<Point> listPoint)
		{
		this.listPoint = listPoint;
		}

	/*------------------------------*\
	|*				Get				*|
	\*------------------------------*/
	public List<Point> getListPoint()
		{
		return this.listPoint;
		}

	/*------------------------------------------------------------------*\
	|*							Attributs Private						*|
	\*------------------------------------------------------------------*/
	private List<Point> listPoint;


	}

